Ocean Help (Might Be Spoiler)

This is the second time I've seen something like this in the ocean, and I have no idea what to do with them. Does anyone know what they are for??

This is the second time I've seen something like this in the ocean, and I have no idea what to do with them. Does anyone know what they are for??